package com.ruike.alisurface.bean;

import java.util.List;

/**
 * @author: tjf
 * @date: 2023-09-01
 * @desc： 创建订单结果数据类
 */
public class CreateOrderResultBean {


    /**
     * msg : SUCCESS
     * code : 0
     * data : {"url":"https://order.duolabao.com/active/c?state=2023090113224196514776%7C2023020923001919565%7C0.01%7C%7CAPI","Id":"2023090113224196514776","Total_fee":0.01,"details":[{"SlotIndex":3,"Quantity":1,"SlotTypeId":21001,"Price":0.01}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * url : https://order.duolabao.com/active/c?state=2023090113224196514776%7C2023020923001919565%7C0.01%7C%7CAPI
         * Id : 2023090113224196514776
         * Total_fee : 0.01
         * details : [{"SlotIndex":3,"Quantity":1,"SlotTypeId":21001,"Price":0.01}]
         */

        private String url;
        private String Id;
        private double Total_fee;
        private List<DetailsBean> details;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getId() {
            return Id;
        }

        public void setId(String Id) {
            this.Id = Id;
        }

        public double getTotal_fee() {
            return Total_fee;
        }

        public void setTotal_fee(double Total_fee) {
            this.Total_fee = Total_fee;
        }

        public List<DetailsBean> getDetails() {
            return details;
        }

        public void setDetails(List<DetailsBean> details) {
            this.details = details;
        }

        public static class DetailsBean {
            /**
             * SlotIndex : 3
             * Quantity : 1
             * SlotTypeId : 21001
             * Price : 0.01
             */

            private int SlotIndex;
            private int Quantity;
            private int SlotTypeId;
            private double Price;

            public int getSlotIndex() {
                return SlotIndex;
            }

            public void setSlotIndex(int SlotIndex) {
                this.SlotIndex = SlotIndex;
            }

            public int getQuantity() {
                return Quantity;
            }

            public void setQuantity(int Quantity) {
                this.Quantity = Quantity;
            }

            public int getSlotTypeId() {
                return SlotTypeId;
            }

            public void setSlotTypeId(int SlotTypeId) {
                this.SlotTypeId = SlotTypeId;
            }

            public double getPrice() {
                return Price;
            }

            public void setPrice(double Price) {
                this.Price = Price;
            }
        }
    }
}
